package com.sample.springbootsample.model;

import java.io.Serializable;

/**
 * @projectName: spring-boot-sample
 * @description:
 * @author: Adam
 * @create: 2019-12-09 22:21
 **/

public class Data<T> implements Serializable {

    private String status;

    private String error;

    private String message;

    private String timestamp;

    private T data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
